public class StartBloodworkEvent extends EventBase {
	public Nurse nurse;
	
	
	public StartBloodworkEvent(PatientBase patient) {
		super(patient);
		duration = 45;
		this.nurse = patient.getNurse();
	}

	public void execute() {
		super.execute();
		patient.available = false;
		patient.getNurse().available = false;
		EventBase event =  new EndBloodworkEvent(patient, nurse);
		event.startTime = Simulator.getCurrentTime() + duration;
		Simulator.addEvent(event);
	}
}